package com.gitee.shoes.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.shoes.entity.ProductSoldRecord;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LYH
 * @since 2020-12-13
 */
public interface IProductSoldRecordService extends IService<ProductSoldRecord> {

    List<ProductSoldRecord> findAllByProductIdAndOrderByTimeDescAndLimit(Long productId, int i);
}
